package _const

const (
	PASSWORD_ERROR    = 10501
	CODE_ERROR        = 10502
	USERNAME_REGISTER = 10503
	PHONE_REGISTER    = 10504
	SEND_ERROR        = 10505
	NETWORK_ERROR     = 504
	UPDATE_ERROR      = 10506
)

var Res = make(map[int]string)

func init() {
	Res[PASSWORD_ERROR] = "密码错误，请重试~"
	Res[CODE_ERROR] = "验证码错误，请重试~"
	Res[USERNAME_REGISTER] = "该账号已被注册~"
	Res[PHONE_REGISTER] = "该手机号已注册~"
	Res[SEND_ERROR] = "发送短信失败，请稍后再试~"
	Res[NETWORK_ERROR] = "网络超时，请稍后重试~"
	Res[UPDATE_ERROR] = "修改失败，请稍后重试~"
}
